28 #ifndef _spoton_rosetta_h_
29 #define _spoton_rosetta_h_
33 #ifdef SPOTON_GPGME_ENABLED
40 #include "ui_spot-on-rosetta.h"
59 void setName(
const QString &text);
64 QPointer<spoton> m_parent;
65 #ifdef SPOTON_GPGME_ENABLED
66 QPointer<spoton_rosetta_gpg_import> m_gpgImport;
68 QByteArray copyMyRosettaPublicKey(
void)
const;
69 QByteArray gpgEncrypt(
const QByteArray &receiver,
70 const QByteArray &sender)
const;
71 QMap<QString, QByteArray> gpgEmailAddresses(
void)
const;
72 #ifdef SPOTON_GPGME_ENABLED
73 static QPointer<spoton_rosetta> s_rosetta;
74 static gpgme_error_t gpgPassphrase(
void *hook,
76 const char *passphrase_info,
80 void keyPressEvent(QKeyEvent *event);
81 void populateContacts(
void);
82 void populateGPGEmailAddresses(
void);
83 void resizeEvent(QResizeEvent *event);
84 void sortContacts(
void);
85 void toDesktop(
void)
const;
88 void slotAddContact(
void);
90 void slotClearClipboardBuffer(
void);
92 void slotContactsChanged(
int index);
93 void slotConvertDecrypt(
void);
94 void slotConvertEncrypt(
void);
95 void slotCopyDecrypted(
void);
96 void slotCopyEncrypted(
void);
97 void slotCopyMyGPGKeys(
void);
98 void slotCopyMyRosettaPublicKeys(
void);
99 void slotCopyOrPaste(
void);
100 void slotDecryptClear(
void);
101 void slotDecryptReset(
void);
102 void slotDelete(
void);
103 void slotImportGPGKeys(
void);
104 void slotParticipantAdded(
const QString &type);
105 void slotPopulateGPGEmailAddresses(
void);
106 void slotRemoveGPGKeys(
void);
107 void slotRename(
void);
108 void slotSaveName(
void);
109 void slotSetIcons(
void);
110 void slotSplitterMoved(
int pox,
int index);
113 void gpgKeysRemoved(
void);
114 void participantAdded(
const QString &type);
115 void participantDeleted(
const QString &oid,
const QString &type);
116 void participantNameChanged(
const QByteArray &publicKeyHash,
117 const QString &name);